package com.fwj.ajax.controller;

import com.fwj.ajax.domain.ResultBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/get1")
    public ResultBean Get1() {
        ResultBean resultBean = new ResultBean("get1 ok");
        System.out.println("TestController.Get1()");
        return resultBean;
    }
}
